﻿using Scrum.Net.Classes;
using Scrum.Net.Utilities;

namespace Scrum.Net.Interfaces
{
    public interface IScrumRole
    {
        string Name { get; set; }
        // Team, SrumMaster, ProductOwner etc
    }

    public class ScrumRole : ObservableObject, IScrumRole
    {
        private string _name;

        public string Name
        {
            get { return _name; }
            set 
            { 
                _name = value;
                RaisePropertyChanged("Name");
            }
        }

        public ScrumRole(string name)
        {
            Name = name;
        }
    }
}